package com.mxf.code.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author mxf
 * @version 1.0
 * @description: 实体分页返参
 * @date 2023/5/10
 */
@Data
@NoArgsConstructor
@ApiModel(value = "实体分页返参")
public class EntityDataPageResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "实体Id")
    private Long idNum;

    @ApiModelProperty(value = "本体Id")
    private Long ontologyId;

    @ApiModelProperty(value = "本体名称")
    private String ontologyName;

    @ApiModelProperty(value = "实体名称")
    private String entityName;

    @ApiModelProperty("创建人名称")
    private String creatorName;

    @ApiModelProperty(value = "创建人Id", hidden = true)
    private Long creator;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createDate;
}
